<!--病人查询显示数据页面-->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="favicon.ico" >
    <link rel="Shortcut Icon" href="favicon.ico" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="/h-ui.admin/css/style.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script><![endif]-->
    <!--/meta 作为公共模版分离出去-->

    <title>baby堂小儿推拿</title>
    <meta name="keywords" >
    <meta name="description" >
</head>
<body>
<script src="/lib/jquery/1.9.1/jquery.js"></script>
<img src="/images/logo.png"style="width:150px;height:120px;margin-right:250px;">
<div style="text-align: center;">
    <a th:onclick="AddReistra([[@{/Registration}]]);">挂号</a>
    <a th:href="@{/logout}">退出登录</a>
</div>
<div style="margin-top: 20px;">
    <form th:action="@{/selList}" th:method="post">
        <span>查询类型：</span>
        <input type="text" class="input-text" style="width:250px" placeholder="输入姓名或电话" name="regInof">
        <button type="submit" class="btn btn-success radius" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 查询</button>
    </form>
    <div class="mt-20">
        <table class="table table-border table-bordered table-hover table-bg table-sort">
            <thead>
            <tr class="text-c">
                <th width="80">ID</th>
                <th width="100">姓名</th>
                <th width="40">电话</th>
                <th width="90">套餐</th>
                <th width="150">预约医生</th>
                <th width="110">时间</th>
                <th width="150">操作</th>

            </tr>
            </thead>
            <tbody>
            <tr class="text-c" th:each="r:${rts}">
                <td th:text="${rts.indexOf(r) + 1}" >1</td>
                <td><u th:text="${r.pai_name}">张三</u></td>
                <td th:text="${r.pai_phone}">电话号码</td>
                <td th:switch="${r.pai_meal}">
                    <a th:case="1">健脾胃</a>
                    <a th:case="2">增强免疫力</a>
                    <a th:case="3">活动筋骨</a>
                </td>
                <td>
                    <a th:text="${r.dname}"></a>
                </td>
                <td class="td-manage" th:text="${r.time}"></td>
                <td class="td-status">
                    <a class="label label-success radius" >查看</a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
</br>
</br>
<div style="position: absolute;bottom: 0px;background: rgb(0,132,197);width: 100%;;height: 25%;">
    <div style="text-align: center;margin-top:70px ;">
        <span>咨询电话：门诊导医电话：88888888（上午8:00至12:00）（下午14:00至17:00） 医院办公室电话666666（全天）</span></br>
        <span>主办单位：Baby堂医院 地址：泸州市长桥路2号</span></br>
        <span>版权所有：Baby堂医院 备案号：蜀8888</span>
    </div>
    <div style="width: 150px;position: fixed;right: 30px;bottom: 20px;" >
        <span>手机扫一扫关注Baby堂医院微信</span>
        <img src="/images/erweima.png" style="width: 100px; height: 100px;" />
    </div>

</div>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="/h-ui.admin/js/H-ui.admin.page.js"></script>
<!--/_footer /作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
    /*添加挂号*/
    function AddReistra(url){
        layer_show("挂号",url,"1000","450");
    }
</script>
</body>
</html>